$_POST_RAW
Type
keyword
Summary
$_POST_RAW is a binary string variable, formed by reading the content of stdin.
Syntax
$_POST_RAW
Description
Use the $_POST_RAW keyword to access the raw post data.
$_POST_RAW is only available when running in CGI mode (Server).
note
The $_POST_RAW keyword is useful as it provides a means to get the post data in order.
Examples
put $_POST_RAW into tPOSTData
set the itemdelimiter to "&"
repeat for each item tVariablePair in $_POST_RAW
set the itemdelimiter to "="
put urlDecode(item 1 of tVariablePair) into tVariableKey
put urlDecode(item 2 of tVariablePair) into tVariableValue
-- do something with key and value --
set the itemdelimiter to "&"
end repeat
Related
keyword: $_POST_BINARY, $_POST, $_SERVER, $_GET_BINARY, $_GET_RAW, $_GET
Compatibility and Support
Introduced
LiveCode 4.6.3
OS
mac
windows
linux
Platforms
server